
from getInput import *

def story1(debug = False):
	story = ""
	name1 = getWord("Enter a name: ", debug)
	noun1 = getWord("Enter a noun: ", debug)
	verb1 = getWord("Enter a verb in the current tense: ", debug)
	years1 = getNumber("Enter a number: ", debug)
	name2 = getWord("Enter another name: ", debug)
	verb2 = getWord("Enter a verb ending in 'ing': ", debug)
	adj1 = getWord("Enter an adjective: ", debug)
	death1 = getWord("Enter a cause of death: ", debug)
	print name1.capitalize() + "'s Bad Day"
	
	story += "Once there was a person named " + name1.capitalize()
	story += " who only wanted to " + verb1.lower() + ". "
	story += noun1.capitalize() + " was his nickname and had been for " 
	story += years1 + " years. "
	story += "One day " + noun1.capitalize() + " decided to just " + verb1.lower() + " all day. "
	story += "Unfortunatly somebody else named " + name2.capitalize() + " had other plans. "
	story += name2.capitalize() + " hated it whenever " + name1.capitalize() + " " + verb1.lower() + "ed and planed on stopping him. "
	story += name2.capitalize() + " figured that by " + verb2.lower() + ", he could stop " + name1.capitalize() + ". "
	story += "This resulted in both of them getting " + death1.lower() + " by a " + adj1 + " police officer. THE END"
	return story
	
def story2(debug = False):
	story = ""
	name1 = getWord("Enter a name: ", debug)
	dish1 = getWord("Enter a dish: ", debug)
	ingredient1 = getWord("Enter an ingredient: ", debug)
	ingredient2 = getWord("Enter another ingredient: ", debug)
	liquid1 = getWord("Enter a type of liquid: ", debug)
	liquid2 = getWord("Enter another type of liquid: ", debug)
	cooking1 = getWord("Enter something you can cook in: ", debug)
	temperature1 = getNumber("Enter a number: ", debug)
	adj1 = getWord("Enter an adjective: ", debug)
	print "The Perfect Dish"
	story += "Hello, welcome to cooking with " + name1.capitalize() + "! "
	story += "Today we will be cooking " + dish1.capitalize() + ", one of my favorite dishes! "
	story += "This will of course require plenty of " + ingredient1 + " and " + ingredient2 + ". "
	story += "Now, lets start with whipping our " + ingredient1 + " with some " + liquid1 + ". "
	story += "This will create a nice froth that we can now pour into our " + liquid2 + " that we prepared beforehand. "
	story += "We will no put this in our " + cooking1 + " and set it to " +temperature1 + " degrees for 25 minutes. "
	story += "This will make a " + adj1 + " " + dish1 + " that you can enjoy with yourself, or with others!"
	return story
	
def story3(debug = False):
	story = ""
	score1 = getNumber("Enter a number: ", debug)
	team1 = getWord("Enter a team name: ", debug)
	record1 = getNumber("Enter another number: ", debug)
	adj1 = getWord("Enter an adjective: ", debug)
	noun1 = getWord("Enter a noun: ", debug)
	adj2 = getWord("Enter another adjective: ", debug)
	court1 = getWord("Enter a spot on a basketball court: ", debug)
	dance1 = getWord("Enter a dance: ", debug)
	body1 = getWord("Enter a body part: ", debug)
	print "The Last Shot"
	story += "There's 10 seconds left in the game. The score is " + score1 + " to " + str(int(score1) + 1)
	story += ". You need at least a two to win. You are part of the " + team1.capitalize() + " and your record is " + record1 + "-0. "
	story += "Your " + adj1 + " teammate passes you the ball. "
	story += "You hear coach call for " + adj2 + " " + noun1 + ". "
	story += "This play is for you. You have to take the shot. You pull up from " + court1 + ". "
	story += "You feel it come off your hand and you already know it's going in and you start to do the " + dance1 + ". "
	story += "The ball bounces off the rim and hits your " + body1 + ", and you fall to the ground unconscious. "
	return story
